﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Modellayer
{
    [DataContract]
    public class Show
    {
        [DataMember]
        public string showTime { get; set; }
        [DataMember]
        public ShowRoom showroom { get; set; }
        [DataMember]
        public List<Seat> seats { get; set; }
        [DataMember]
        public Movie movie { get; set; }
        [DataMember]
        public int showId { get; set; }


        public Show(Movie movie, ShowRoom showroom, int showId, string showTime)
        {
            this.movie = movie;
            this.showroom = showroom;
            this.showId = showId;
            this.showTime = showTime;  
        }
    }
}
